package com.gzy.cbrsystem.shimian.action;

import com.gzy.cbrsystem.shimian.dao.ShimianMjjy;
import com.gzy.cbrsystem.shimian.service.CaseReasoning;
import com.opensymphony.xwork2.ActionSupport;

public class AddShimianMjjy extends ActionSupport{
	CaseReasoning caseReasoning;
	ShimianMjjy shimianMjjy;
public ShimianMjjy getShimianMjjy() {
		return shimianMjjy;
	}
	public void setShimianMjjy(ShimianMjjy shimianMjjy) {
		this.shimianMjjy = shimianMjjy;
	}
public CaseReasoning getCaseReasoning() {
		return caseReasoning;
	}
	public void setCaseReasoning(CaseReasoning caseReasoning) {
		this.caseReasoning = caseReasoning;
	}
public String execute()throws Exception{
		this.caseReasoning.addMjjy(this.getShimianMjjy());
		return SUCCESS;
	}
}
